# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:       王景渊  
# Name:         9.ajaxdata.json
# Description:
# Author:       dell
# Date:         2019/3/2
#-------------------------------------------------------------------------------
# 使用raise语句抛出主动异常
class Word(Exception):
      pass
Speed = 12
if  Speed>= 10:
    raise Word('曲速引擎已经过载，请停止或者弹出曲速核心，否则飞船将会爆炸')

